package com.training.java.corejava.interfacedemo;

public class PersonInterfaceDemo {

	public static void main(String[] args) {
		Person person1 = new Customer("reenu",34,"dallas,tx","unemployed");
		Person person2 = new Employee("sushmita",36,"Ohio","employed");
		Person person3 = new Student("Siva",35,"California","employed");
		showInformation(person1);
		showInformation(person2);
		showInformation(person3);
	
		
	}
	
	
	public static void showInformation(Person person)
	{
		person.showInfo();
		person.mainJob();
		person.currentStatus();
		
	}

}
